/**
 * Copyright (c) Huawei Technologies Co., Ltd. 1987-2021. All rights reserved.
*/

package com.gitee.fufu669.aspect;

import com.gitee.fufu669.common.CacheKeyCommon;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/** @author wangfupeng */
/** 打印方法日志 */
@Target(ElementType.METHOD)
// 注解
@Retention(RetentionPolicy.RUNTIME)
/**
 * TODO
*/
public @interface LogMethod {

    /** 是否开启调用前日志 */
    int logBefore() default CacheKeyCommon.DEFAULT_YES_VALUE;

    /** 是否开启调用后日志 */
    int logAfter() default CacheKeyCommon.DEFAULT_YES_VALUE;

}
